from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^foo/', include('foo.urls')),

    # Uncomment this for admin:
#     (r'^admin/', include('django.contrib.admin.urls')),
    #(r'^accounts/login/$', 'django.contrib.auth.views.login', { 'template_name': 'login.html' }),
    #(r'^accounts/', include('accounts')),
    #(r'^accounts/login/$', 'polls.views.login'),
    #(r'^accounts/register/$', 'polls.views.register'),
    #(r'^polls/$', 'polls.views.index'),
    #(r'^polls/(?P<poll_id>\d+)/$', 'polls.views.detail'),
    #(r'^polls/(?P<poll_id>\d+)/results/$', 'polls.views.results'),
    #(r'^polls/(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),

    #(r'^register/$', register),
    (r'^register/$', 'accounts.views.register'),
    (r'^login/$', 'accounts.views.login'),
    (r'^logout/$', 'accounts.views.logout'),
    (r'^edit/$', 'accounts.views.edit'),
    (r'^chgpwd/$', 'accounts.views.chg_password'),
    #(r'^login_success/$', 'accounts.views.login_success'),
)
